package com.tancire.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tancire.common.annotation.Excel;
import com.tancire.common.core.domain.BaseEntity;

/**
 * 应用日志对象 sys_app_log
 *
 * @author tancire
 * @date 2024-06-13
 */
public class SysAppLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 业务键值 */
    @Excel(name = "业务键值")
    private String busKey;

    /** 业务数据 */
    @Excel(name = "业务数据")
    private String busData;

    /** 对应APP */
    @Excel(name = "对应APP")
    private Long appId;

    /** 0 正常  1 删除  真删除，字段保留 */
    private Integer delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
    public void setBusKey(String busKey) {
        this.busKey = busKey;
    }

    public String getBusKey() {
        return busKey;
    }
    public void setBusData(String busData) {
        this.busData = busData;
    }

    public String getBusData() {
        return busData;
    }
    public void setAppId(Long appId) {
        this.appId = appId;
    }

    public Long getAppId() {
        return appId;
    }
    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("busKey", getBusKey())
            .append("remark", getRemark())
            .append("busData", getBusData())
            .append("appId", getAppId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
